<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'customer-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	
	<table>
		<tr>
			<td><?php echo $form->labelEx($model,'customer'); ?></td>
			<td><?php echo $form->textField($model,'customer',array('size'=>20,'maxlength'=>39)); ?></td>
        </tr>
    	<tr>
			<td><?php echo $form->labelEx($model,'address'); ?></td>
			<td><?php echo $form->textField($model,'address',array('size'=>20)); ?></td>
        </tr>
		<tr>
			<td colspan="2">
				<?php //echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
  <?php              
                echo CHtml::button('Submit',array('submit'=>array('customer')));
?>
            </td>
        </tr>
    </table>

<?php $this->endWidget(); ?>